<template>
	<view class="mySwiper">
		<view @click="goMessage" class="project">
			<view class="title">
				测试
			</view>
			<view class="content">
				<view class="money">
					123万
				</view>
				<view class="time">
					2016-09-01
				</view>
			</view>
		</view>
		<view v-if="current == flag" class="foot">
			已经全部加载完毕
		</view>

		<view v-if="flag==0" class="foot">
			已经全部加载完毕
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		props: {
			flag: {
				type: Number,
			},
			current: {
				type: Number,
			}
		},
		methods: {
			goMessage() {
				uni.navigateTo({
					url: "../pages/underconstruction/architecturedetails/message",
					// ../pages/underconstruction/architecturedetails/message
				})
			},
			// scroll-view到底部加载更多
			onreachBottom() {

			}
		}
	}
</script>

<style lang="scss" scoped>
	.mySwiper {
		background: #FFFFFF;

		.project {
			border-bottom: solid 1px #d4d4d4;
			margin: 0 20rpx;

			.title {
				padding: 10rpx 20rpx;
			}

			.content {
				display: flex;
				color: #999999;
				padding: 20rpx;

				.money {
					width: 180rpx;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}
			}
		}

		.foot {
			background: #C8C9CC;
			text-align: center;
			padding: 20rpx;
		}

	}
</style>
